use notify_rust::Notification;

pub fn notify(time_tick: u16, message: &str) {
    let message = format!("你已经坐了{}分钟，{}", time_tick, message);
    Notification::new()
        .summary("久坐提醒")
        .timeout(notify_rust::Timeout::Milliseconds(5000))
        .body(&message)
        .show()
        .unwrap();
}
